package tets;

import java.util.concurrent.TimeUnit;

public class X {

    public static void main(String[] args) throws InterruptedException {
        X x = new X();
        x.strToNumber("90");

        Thread.sleep(2000);

        x.strToNumber("90w");
    }

    public Integer strToNumber(String str) {
        return Integer.parseInt(str);
    }
}
